package com.jemmyee.shop.web.controller;

import org.springframework.beans.factory.annotation.Autowired;

import com.jemmyee.core.web.controller.kernel.BaseAdminController;
import com.jemmyee.shop.entity.Goods;
import com.jemmyee.shop.entity.GoodsBrand;
import com.jemmyee.shop.entity.GoodsCategory;
import com.jemmyee.shop.entity.GoodsCollect;
import com.jemmyee.shop.entity.GoodsTag;
import com.jemmyee.shop.entity.Region;
import com.jemmyee.shop.entity.ShopConfig;
import com.jemmyee.shop.entity.StatsFlow;
import com.jemmyee.shop.entity.StatsKeyword;
import com.jemmyee.shop.entity.UserAddress;
import com.jemmyee.shop.entity.UserFeed;
import com.jemmyee.shop.entity.UserRank;
import com.jemmyee.shop.service.IGoodsBrandService;
import com.jemmyee.shop.service.IGoodsCategoryService;
import com.jemmyee.shop.service.IGoodsCollectService;
import com.jemmyee.shop.service.IGoodsService;
import com.jemmyee.shop.service.IGoodsTagService;
import com.jemmyee.shop.service.IRegionService;
import com.jemmyee.shop.service.IShopConfigService;
import com.jemmyee.shop.service.IStatsFlowService;
import com.jemmyee.shop.service.IStatsKeywordService;
import com.jemmyee.shop.service.IUserAddressService;
import com.jemmyee.shop.service.IUserFeedService;
import com.jemmyee.shop.service.IUserRankService;

public class BaseShopController extends BaseAdminController {
	// service 注入
	//shop
	@Autowired
	public IGoodsBrandService<GoodsBrand> goodsBrandService;
	@Autowired
	public IGoodsService<Goods> goodsService;
	@Autowired
	public IGoodsCollectService<GoodsCollect> goodsCollectService;
	@Autowired
	public IGoodsCategoryService<GoodsCategory> goodsCategoryService;
	@Autowired
	public IGoodsTagService<GoodsTag> goodsTagService;

	@Autowired
	public IUserAddressService<UserAddress> userAddressService;
	@Autowired
	public IUserFeedService<UserFeed> userFeedService;
	@Autowired
	public IUserRankService<UserRank> userRankService;
	@Autowired
	public IStatsFlowService<StatsFlow> statsFlowService;
	@Autowired
	public IStatsKeywordService<StatsKeyword> statsKeywordService;
	@Autowired
	public IRegionService<Region> regionService;
	@Autowired
	public IShopConfigService<ShopConfig> shopConfigService;
}
